/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

import java.util.ArrayList;
import models.Employee;

/**
 *
 * @author grizwitz
 */
public interface EmployeeInterface {

    public ArrayList getAllEmployees(boolean b);

    public Employee findEmployee(String id, boolean retriveAssociation);
  
    public int updateEmployee(Employee emp);

    public Employee searchEmployeeName(String name, boolean b);

    public Employee searchEmployeeUsername(String username, boolean b);

    public Employee searchEmployeeId(int id, boolean b);

    public boolean addEmployee(Employee emp);


}
